package com.xinxin.facelinker.activity;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;

import com.easemob.chatuidemo.R;
import com.xinxin.facelinker.utils.FaceUtil;

public class TextActivity extends Activity {

    private String face_id;
    private String person_id;
    private String faceset_id;
    private TextView tv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_text2);

        tv= (TextView) findViewById(R.id.tv);

        face_id=FaceUtil.detect(TextActivity.this,"http://d.hiphotos.baidu.com/image/pic/item/b64543a98226cffc2d1e40b8ba014a90f603ea80.jpg");
        System.out.println(face_id);

    }
}
